﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="InstanceList.aspx.cs" Inherits="InstanceList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <table cellpadding="5" cellspacing="0" width="100%">
    <tr><td bgcolor="#EBE7E7"><asp:Label ID="lblResults" runat="server" Font-Bold="False" ForeColor="#003366"></asp:Label></td></tr>
  </table>
  <table cellpadding="0" cellspacing="0" width="100%">
        <tr style="color: #000000">
                        <td colspan="2">
                            <asp:GridView ID="gv" runat="server" AllowSorting="False" CellPadding="4" 
                                ForeColor="#333333" GridLines="None" 
                                Width="100%" AutoGenerateColumns="false">
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <Columns>
                                    <asp:HyperLinkField DataNavigateUrlFields="instancename" 
                                        DataNavigateUrlFormatString="~/InstanceDetail.aspx?InstanceName={0}" 
                                        DataTextField="instancename" HeaderText="instance" 
                                        NavigateUrl="~/InstanceDetail.aspx">
                                        <ItemStyle HorizontalAlign="Left" />
                                        <HeaderStyle HorizontalAlign="Left" />
                                    </asp:HyperLinkField>                                     
                                    <asp:BoundField DataField="InstanceShortDescription" HeaderText="Description">
                                        <ItemStyle HorizontalAlign="Left" />
                                        <HeaderStyle HorizontalAlign="Left" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="InstanceVersion" HeaderText="Version">
                                        <ItemStyle HorizontalAlign="Left" />
                                        <HeaderStyle HorizontalAlign="Left" />
                                    </asp:BoundField>                                    
                                </Columns>
                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                <EditRowStyle BackColor="#999999" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#003366" Font-Bold="True" Font-Size="X-Small" 
                                    ForeColor="White" HorizontalAlign="Left" />
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            </asp:GridView>
                        </td>
                    </tr>
    </table>
</asp:Content>

